#include <stdio.h>

int main(void)
{
	//希望统计班级5个成绩的总成绩和平均分
	int a1 = 80;
	int a2 = 90;
	int a3 = 78;
	int scores[5];
	scores[0]=81;
	scores[1]=82;
	scores[2]=83;
	scores[3]=84;
	scores[4]=85;
	int sum = a1+a2+a3;
	int sum1 = scores[0]+scores[1]+scores[2]+scores[3]+scores[4];
	double avgScore = (double)sum/3;
	double avgScore1 = (double)sum1/5;
	printf("sum1:%d,avgScore1:%.2f\n",sum1,avgScore1);
	return 0;
}
